<include file="nav:header"/>
<div class="container-fluid">
    <div class="row">
        <include file="Left:left-Common"/>
        <!-- right -->
        <div class="col-md-10 right">
            <div class="page-header" style="margin-right: 15px">
                <h3>{$page_title}</h3>
            </div>
            <div class="col-md-6">
                <div class="btn-group " role="group" aria-label="Large button group">
                    <a href="{:U('Tag/index')}" type="button" class="btn btn-default">بارلىق خەتكۈچلەر</a>
                    <a href="{:U('Tag/index')}" type="button" class="btn btn-default"> قايتىش</a>
                </div>
                <br><br>
                <!--表单-->
                <form class="classify" action="{:U('Tag/savehend')}" method="post">
                    <input type="hidden" name="id" value="{$tags['id']}">
                    <div class="form-group">
                        <input name="tname" type="text" class="form-control" id="exampleInputEmail1" value="{$tags['tname']}">
                    </div>
                    <br>
                    <div class="form-group">
                        <input name="sort" type="number" class="form-control" id="exampleInputPassword1" value="{$tags['sort']}">
                    </div>
                    <br>
                    <br>
                    <div class="btn-group checkbox">
                        <label class="btn btn-success btn-xs <if condition="$tags['status']">active</if> ">
                            <input type="radio" name="status"  value="1" <if condition="$tags['status']">checked</if>> ئوچۇق
                        </label>
                        <label class="btn btn-danger btn-xs <if condition="!$tags['status']">active</if> ">
                            <input  type="radio" name="status"  value="0" <if condition="!$tags['status']">checked</if>> تاقاق
                        </label>
                    </div>
                    <br><br>
                    <button style="width: 100px" type="submit" class="btn btn-primary ">ساقلاش</button>
                </form>
            </div>
        </div>
    </div>
</div>
<include file="nav:footer"/>